<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>Marquage</title>
    </h:head>
    <h:body>
        <f:view>
            <h:form>
                 <p:panel id="panel" header="Initial Marking List" style="margin-bottom:10px;">
                     
                     <p:dataTable value="#{marquageMBean.allMarquage}" var="item">
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="Refmarquage"/>
                        </f:facet>
                        <h:outputText value="#{item.refmarquage}"/>
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="VecteurMarquage"/>
                        </f:facet>
                        <h:outputText value="#{item.vecteurMarquage}"/>
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="Idm"/>
                        </f:facet>
                        <h:outputText value="#{item.idm}"/>
                    </p:column>
                    
                </p:dataTable>
                     <p:commandButton value="Back"  action ="#{marquageMBean.back}" ajax ="false" />
                     <p:commandButton value="PetriNet Graphic Simulator"  ajax ="false" />   
                     <p:commandButton value="Add New initial marking" action="#{marquageMBean.creeMarquage}" ajax ="false" />
                 </p:panel>
            </h:form>
        </f:view>

    </h:body>
</html>

